package com.gs.thunder_manage.service;

import com.gs.thunder_manage.entity.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ResourceService {

     void addResource(Resource res);

     void updateResource(Resource res);

     List<Resource> queryAllResource();

     void deleteResourceById(int id);

     Resource queryResourceById(int id);
}
